package com.ziri.quartz.cluster.service;

import com.ziri.quartz.cluster.entity.BaseLabel;
import com.ziri.quartz.cluster.entity.TaskEntity;

import java.util.List;

public interface QuartzService {

    void initAllTask(List<BaseLabel> scheduledTaskBeanList) throws Exception;

    void addJob(TaskEntity scheduledTask);
}
